package com.zc.study.thread.多线程第一章节.多线程1_1_3;

public class test {
    public static void main(String[] args) {
//        MyThread1 myThread = new MyThread1();
//        Thread a=new Thread(myThread);
//        Thread b=new Thread(myThread);
//        Thread c=new Thread(myThread);
//        Thread d=new Thread(myThread);
//        Thread e=new Thread(myThread);
//        Thread f=new Thread(myThread);
//        a.start();
//        b.start();
//        c.start();
//        e.start();
//        f.start();
        MyTtread2 myTtread = new MyTtread2();
        Thread a = new Thread(myTtread);
        Thread b = new Thread(myTtread);
        Thread c = new Thread(myTtread);
        Thread d = new Thread(myTtread);
        Thread e = new Thread(myTtread);
        a.start();
        b.start();
        c.start();
        d.start();
        e.start();
    }
}
